//console.log(url)

function agreements(name) {


    $.ajax({

        type: "POST",

        url: url + "users/configinfo",

        dataType: "json",

        //aynsc:true,

        data: {

            "alias": name
        },

        success: function (data) {

            $(".rechargeDiv").html(data.data.data.desc);

            if (isiphoneX) {

                $(".footer_position").addClass("footer")

            }else{

                $(".footer_position").removeClass("footer")
            }

        },
        error: function (info) {

            console.log(info)

        }
    });
}


